<?php
return [
    'title' => '杭州力合数码',
    'titleEn' => 'lihehz.com',
    'pageSize' => 9,
    'admin' => [
        'title' => '杭州力合数码后台管理',
        'pageSize' => 20,
    ],
    'cacheTime' => 5,
    'items' => [
        "about" => [
            "name" => "关于我们",
            "nav" => 1,
            "data" => [
                'title' => [
                    'name' => "标题",
                    'type' => "input",
                    "value" => "",
                    "defalt" => "俺也不知道这是啥子",
                    "attribute" => "required"
                ],
                'lang' =>[
                    'name' => "语言",
                    'type' => "select",
                    "value" => [
                        'zh_cn' => '中文（zh_cn）',
                        'en' => '英文（en）',
                    ],
                    "defalt" => "俺也不知道这是啥子",
                    "attribute" => "required"
                ],
                "description" => [
                    "name" => "简介",
                    "type" => "textarea",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => ""
                ],
                'content' => [
                    "name" => "简介内容",
                    "type" => "UEdit",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => "required"
                ]
            ],
        ],
        "case" => [
            "name" => "客户案例",
            "nav" => 1,
            "data" => [
                'title' => [
                    'name' => "名称",
                    'type' => "input",
                    "value" => "",
                    "defalt" => "俺也不知道这是啥子",
                    "attribute" => "required"
                ],
                "pic" => [
                    "name" => "设备图片",
                    "type" => "img",
                    "value" => "226-230",
                    'defalt' => 1,
                    "attribute" => "required"
                ],
                "description" => [
                    "name" => "简介",
                    "type" => "textarea",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => ""
                ],
                'content' => [
                    "name" => "简介内容",
                    "type" => "UEdit",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => "required"
                ]
            ],
        ],
        "service" => [
            "name" => "服务",
            "nav" => 1,
            "data" => [
                'lang' =>[
                    'name' => "语言",
                    'type' => "select",
                    "value" => [
                        'zh_cn' => '中文（zh_cn）',
                        'en' => '英文（en）',
                    ],
                    "defalt" => "俺也不知道这是啥子",
                    "attribute" => "required"
                ],
                'content' => [
                    "name" => "简介内容",
                    "type" => "UEdit",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => "required"
                ]
            ],
        ],
        "cooperate" => [
            "name" => "合作商",
            "nav" => 1,
            "data" => [
                'lang' =>[
                    'name' => "语言",
                    'type' => "select",
                    "value" => [
                        'zh_cn' => '中文（zh_cn）',
                        'en' => '英文（en）',
                    ],
                    "defalt" => "俺也不知道这是啥子",
                    "attribute" => "required"
                ],
                'content' => [
                    "name" => "简介内容",
                    "type" => "UEdit",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => "required"
                ]
            ],
        ],
        "event" => [
            "name" => "大事件",
            "type" => "types",
            "nav" => 1,
            "data" => [
                "title" => [
                    "name" => "标题",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => "required"
                ],
                'lang' =>[
                    'name' => "语言",
                    'type' => "select",
                    "value" => [
                        'zh_cn' => '中文（zh_cn）',
                        'en' => '英文（en）',
                    ],
                    "defalt" => "俺也不知道这是啥子",
                    "attribute" => "required"
                ],
                'types' => [
                    "name" => '事件年份',
                    "type" => 'dynamic',
                    "value" => "eventDate",
                    "defalt" => "2016",
                    "attribute" => "required"
                ],
                'lang' =>[
                    'name' => "语言",
                    'type' => "select",
                    "value" => [
                        'zh_cn' => '中文（zh_cn）',
                        'en' => '英文（en）',
                    ],
                    "defalt" => "俺也不知道这是啥子",
                    "attribute" => "required"
                ],
                'content' => [
                    "name" => "简介内容",
                    "type" => "UEdit",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => "required"
                ]
            ],
        ],
        "eventDate"=>[
            "name" => "事件年份",
            "nav" => 3,
            "data" => [
                'year' => [
                    "name" => "年份",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => "required"
                ]
            ]
        ],
        "contact" => [
            "name" => "联系方式",
            "nav" => 0,
            "data" => [
                "name" => [
                    "name" => "联系方式",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => "required"
                ],
                "contacter" => [
                    "name" => "联系内容",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写",
                    "attribute" => ""
                ],
            ]
        ],
        "message" => [
            "name" => "留言",
            "nav" => 2,
            "data" => [
                "name" => [
                    "name" => "姓名",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写标题",
                    "attribute" => "required"
                ],
                "tel" => [
                    "name" => "联系电话",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写来源",
                    "attribute" => "required"
                ],
                "email" => [
                    "name" => "邮件地址",
                    "type" => "input",
                    "value" => "226-230",
                    'defalt' => "",
                    "attribute" => "required|email"
                ],
                "company" => [
                    "name" => "公司名称",
                    "type" => "input",
                    "value" => "226-230",
                    'defalt' => "",
                    "attribute" => "required"
                ],
                "requirement" => [
                    "name" => "具体需求",
                    "type" => "textarea",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => "required"
                ]
            ]
        ],
    ],
    'message' => [
        'required' => ':attribute不能为空',
        'url' => ':attribute不是有效的地址',
    ]
];